home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Resource for Source: C/C++
/
Resource for Source - C-C++.iso
/
misc_src
/
knowhow4
/
work.cpp
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1995-11-01
|
290 b
|
24 lines
#include <dos.h>
#include <stddef.h>
void main()
{
char* s = new char[165000];
if(s == NULL)
{
sound(1000);
delay(1000);
nosound();
}
else
{
sound(1000);
delay(1000);
nosound();
delay(1000);
sound(1000);
delay(1000);
nosound();
}
}